package com.ruoyi.tester.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务调用日志对象 tester_task_call_log
 * 
 * @author SJ
 * @date 2022-04-26
 */
public class TesterTaskCallLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务调用日志id */
    @Excel(name = "任务调用日志id")
    private Long taskCallLogId;

    /** 任务id */
    @Excel(name = "任务id")
    private Long taskId;

    /** 总调用次数 */
    @Excel(name = "总调用次数")
    private Long callCount;

    /** 已完成次数 */
    @Excel(name = "已完成次数")
    private Long doneCount;

    /** 进度(doing, perfect, fault) */
    @Excel(name = "进度(doing, perfect, fault)")
    private String progres;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 接口调用日志信息 */
    private List<TesterInterfaceCallLog> testerInterfaceCallLogList;

    public void setTaskCallLogId(Long taskCallLogId) 
    {
        this.taskCallLogId = taskCallLogId;
    }

    public Long getTaskCallLogId() 
    {
        return taskCallLogId;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setCallCount(Long callCount) 
    {
        this.callCount = callCount;
    }

    public Long getCallCount() 
    {
        return callCount;
    }
    public void setDoneCount(Long doneCount) 
    {
        this.doneCount = doneCount;
    }

    public Long getDoneCount() 
    {
        return doneCount;
    }
    public void setProgres(String progres) 
    {
        this.progres = progres;
    }

    public String getProgres() 
    {
        return progres;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public List<TesterInterfaceCallLog> getTesterInterfaceCallLogList()
    {
        return testerInterfaceCallLogList;
    }

    public void setTesterInterfaceCallLogList(List<TesterInterfaceCallLog> testerInterfaceCallLogList)
    {
        this.testerInterfaceCallLogList = testerInterfaceCallLogList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskCallLogId", getTaskCallLogId())
            .append("taskId", getTaskId())
            .append("callCount", getCallCount())
            .append("doneCount", getDoneCount())
            .append("progres", getProgres())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("testerInterfaceCallLogList", getTesterInterfaceCallLogList())
            .toString();
    }
}
